package com.example.sparkmanager.dto;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class JobRequest {
    @NotBlank(message = "Job name is required")
    private String jobName;

    @NotBlank(message = "JAR path is required")
    private String jarPath;

    @NotBlank(message = "Main class is required")
    private String mainClass;

    private String arguments;
    private String scheduleExpression;
}